import instance from "../api/request";

export function getLangCount() {
    return instance({
        url: "data/getLangCount",
        method: "get",
    });
}

export function getSchoolCount() {
    return instance({
        url: "data/getSchoolCount",
        method: 'get',
    })
}

export function getCityCount() {
    return instance({
        url: "data/getCityCount",
        method: 'get',
    })
}

export function getSkillWordCloud() {
    return instance({
        url: "data/getSkillWordCloud",
        method: 'get',
    })
}

export function getBannerData() {
    return instance({
        url: "data/gerBannerData",
        method: 'get',
    })
}

export function getScrollData() {
    return instance({
        url: "/data/getScrollData",
        method: 'get',
    })
}

export function getRecommendDict() {
    return instance({
        url: 'data/getRecommendDict',
        method: 'get',
    })
}

export function getRecommendByKmeans(salary_desc, city, lang) {
    return instance({
        url: "/data/RecommendJobByKmeans?salary_desc=" + salary_desc + "&city=" + city + "&lang=" + lang,
        method: 'get',
    })
}